﻿using System;
using System.Collections.Generic;
using System.Web;

/// <summary>
/// Summary description for TinTuc
/// </summary>
public class TinTuc
{
    private int _IDTinTuc;

    public int IDTinTuc
    {
        get { return _IDTinTuc; }
        set { _IDTinTuc = value; }
    }

    private string _TieuDe;

    public string TieuDe
    {
        get { return _TieuDe; }
        set { _TieuDe = value; }
    }

    private string _GioiThieu;

    public string GioiThieu
    {
        get { return _GioiThieu; }
        set { _GioiThieu = value; }
    }

    private string _NoiDung;

    public string NoiDung
    {
        get { return _NoiDung; }
        set { _NoiDung = value; }
    }

    private string _HinhAnh;

    public string HinhAnh
    {
        get { return _HinhAnh; }
        set { _HinhAnh = value; }
    }

    private DateTime _NgayDang;

    public DateTime NgayDang
    {
        get { return _NgayDang; }
        set { _NgayDang = value; }
    }

    private string _TenTat;

    public string TenTat
    {
        get { return _TenTat; }
        set { _TenTat = value; }
    }

	public TinTuc()
	{
		//
		// TODO: Add constructor logic here
		//
	}

    public TinTuc(int idTinTuc, string tieuDe, string gioiThieu, string noiDung, string hinhAnh, DateTime ngayDang, string tenTat)
    {
        _IDTinTuc = idTinTuc;
        _TieuDe = tieuDe;
        _GioiThieu = gioiThieu;
        _NoiDung = noiDung;
        _HinhAnh = hinhAnh;
        _NgayDang = ngayDang;
        _TenTat = tenTat;
    }
}